<?php

namespace Bigspender\DefaultBundle\Entity;
use Doctrine\ORM\Mapping as ORM;

/** 
* @ORM\MappedSuperclass 
*/
class Row
{
	/**
	* @ORM\Column(type="integer")
	* @ORM\Id
	* @ORM\GeneratedValue(strategy="AUTO")
	*/
	protected $id;

	/**
	* @ORM\Column(type="datetime")
	*/
	protected $created_at;

	/**
	* @ORM\Column(type="datetime", nullable=true)
	*/
	protected $updated_at;


	public function __construct()
	{
		$this->created_at = new \DateTime();
	}

	public function getId()
	{
		return $this->id;
	}

	public function getCreatedAt()
	{
		return $this->created_at;
	}

	public function getUpdatedAt()
	{
		return $this->updated_at;
	}

	public function setId($id)
	{
		return $this->id = $id;
	}

	public function setCreatedAt($created_at)
	{
		return $this->created_at = $created_at;
	}

	public function setUpdatedAt($updated_at)
	{
		return $this->updated_at = $updated_at;
	}
}